package com.yckj.activechicken.business.document.mapper;

import com.yckj.activechicken.business.document.model.BusiDocument;
import com.yckj.activechicken.business.document.model.BusiDocumentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BusiDocumentMapper {
    long countByExample(BusiDocumentExample example);

    int deleteByExample(BusiDocumentExample example);

    int deleteByPrimaryKey(Integer docId);

    int insert(BusiDocument record);

    int insertSelective(BusiDocument record);

    List<BusiDocument> selectByExample(BusiDocumentExample example);

    BusiDocument selectByPrimaryKey(Integer docId);

    int updateByExampleSelective(@Param("record") BusiDocument record, @Param("example") BusiDocumentExample example);

    int updateByExample(@Param("record") BusiDocument record, @Param("example") BusiDocumentExample example);

    int updateByPrimaryKeySelective(BusiDocument record);

    int updateByPrimaryKey(BusiDocument record);
}